package com.xiaochong.tir.common.data.vo;

import com.xiaochong.tir.common.data.po.KLine;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2018/5/23.
 */
@ApiModel
public class CurrencyQuotationResultVo {

    @ApiModelProperty(value = "id",required = false)
    private String id;

    @ApiModelProperty(value = "名称（中文加英文）",required = false)
    private String name;

    @ApiModelProperty(value = "流通市值",required = false)
    private Double marketCapCny;

    @ApiModelProperty(value = "价格",required = false)
    private Double priceCny;

    @ApiModelProperty(value = "流通数量")
    private Double circulatingSupply;// 流通数量

    @ApiModelProperty(value = "成交额")
    private Double volume24h;// 成交额

    @ApiModelProperty(value = "24小时涨跌幅")
    private Double change24h;// 24小时涨跌幅

    @ApiModelProperty(value = "1小时涨跌幅")
    private Double change1h;// 1小时涨跌幅

    @ApiModelProperty(value = "分数")
    private Double score;// 涨跌幅

    @ApiModelProperty(value = "排名")
    private Integer rank;// 涨跌幅

    @ApiModelProperty(value = "logo")
    private String imageUrl;//logo

    @ApiModelProperty(value = "cmcId")
    private String cmcId;// cmcId

    @ApiModelProperty(value = "7d趋势")
    private List<KLine> KLine7D;// 7d趋势

    @ApiModelProperty(value = "换手率")
    private double turnover;// 换手率

    @ApiModelProperty(value = "今日涨跌")
    private double todayGains;

    @ApiModelProperty(value = "交易对名称")
    private String transactionName;
    @ApiModelProperty(value = "当前价格与上一次交易价格比较上涨还是下跌 1：上涨：0不涨，-1下跌")
    private Integer changFlag=0;//当前价格与上一次交易价格比较上涨还是下跌 1：上涨：0不涨，-1下跌

    @ApiModelProperty(value = "24最小时最高价")
    private String highPrice;

    @ApiModelProperty(value = "24小时最低价")
    private String lowPrice;

    @ApiModelProperty(value = "最新开盘价(美元)")
    private String lastOpenPrice;

    @ApiModelProperty(value = "流通市值排名")
    private String markRank;

    @ApiModelProperty(value = "差值")
    private double difference;
    @ApiModelProperty(value = "1:已自选 2：未自选")
    private Integer selfSelectFlag =2;

    /** 英文名称 */
    private String coinNameEn;

    /** 货币中文名称 */
    private String coinNameCn;

    /** 货币符号 */
    private String symbol;

    public String getCoinNameEn() {
        return coinNameEn;
    }

    public void setCoinNameEn(String coinNameEn) {
        this.coinNameEn = coinNameEn;
    }

    public String getCoinNameCn() {
        return coinNameCn;
    }

    public void setCoinNameCn(String coinNameCn) {
        this.coinNameCn = coinNameCn;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getId() {
        return id;
    }

    public String getLastOpenPrice() {
        return lastOpenPrice;
    }

    public void setLastOpenPrice(String lastOpenPrice) {
        this.lastOpenPrice = lastOpenPrice;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getMarketCapCny() {
        return marketCapCny;
    }

    public void setMarketCapCny(Double marketCapCny) {
        this.marketCapCny = marketCapCny;
    }

    public Double getPriceCny() {
        return priceCny;
    }

    public void setPriceCny(Double priceCny) {
        this.priceCny = priceCny;
    }

    public Double getCirculatingSupply() {
        return circulatingSupply;
    }

    public void setCirculatingSupply(Double circulatingSupply) {
        this.circulatingSupply = circulatingSupply;
    }

    public Double getVolume24h() {
        return volume24h;
    }

    public void setVolume24h(Double volume24h) {
        this.volume24h = volume24h;
    }

    public Double getChange24h() {
        return change24h;
    }

    public void setChange24h(Double change24h) {
        this.change24h = change24h;
    }

    public Double getChange1h() {
        return change1h;
    }

    public void setChange1h(Double change1h) {
        this.change1h = change1h;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getCmcId() {
        return cmcId;
    }

    public void setCmcId(String cmcId) {
        this.cmcId = cmcId;
    }

    public List<KLine> getKLine7D() {
        return KLine7D;
    }

    public void setKLine7D(List<KLine> KLine7D) {
        this.KLine7D = KLine7D;
    }

    public double getTurnover() {
        return turnover;
    }

    public void setTurnover(double turnover) {
        this.turnover = turnover;
    }

    public double getTodayGains() {
        return todayGains;
    }

    public void setTodayGains(double todayGains) {
        this.todayGains = todayGains;
    }

    public String getTransactionName() {
        return transactionName;
    }

    public void setTransactionName(String transactionName) {
        this.transactionName = transactionName;
    }

    public Integer getChangFlag() {
        return changFlag;
    }

    public void setChangFlag(Integer changFlag) {
        this.changFlag = changFlag;
    }

    public String getHighPrice() {
        return highPrice;
    }

    public void setHighPrice(String highPrice) {
        this.highPrice = highPrice;
    }

    public String getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(String lowPrice) {
        this.lowPrice = lowPrice;
    }

    public String getMarkRank() {
        return markRank;
    }

    public void setMarkRank(String markRank) {
        this.markRank = markRank;
    }

    public double getDifference() {
        return difference;
    }

    public void setDifference(double difference) {
        this.difference = difference;
    }

    public Integer getSelfSelectFlag() {
        return selfSelectFlag;
    }

    public void setSelfSelectFlag(Integer selfSelectFlag) {
        this.selfSelectFlag = selfSelectFlag;
    }
}
